<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>字体样式font | H5学习笔记</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        <meta name="author" content="liujw">
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="../../gitbook/style.css">
    
        
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-sectionx/sectionx.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-search/search.css">
        
    
        
        <link rel="stylesheet" href="../../gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
    

        
    
    
    <link rel="next" href="../../css/type/text-decoration.html" />
    
    
    <link rel="prev" href="../../css/type/color.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="2.5.2"
        data-chapter-title="字体样式font"
        data-filepath="css/type/font.md"
        data-basepath="../.."
        data-revision="Mon Jan 08 2018 00:40:26 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="../../index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="md/html.html">
            
                
                    <a href="../../md/html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        html
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="html/description.html">
            
                
                    <a href="../../html/description.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        页面基本认识
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="md/ul/ul.html">
            
                
                    <a href="../../md/ul/ul.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        ul标签使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="html/a.html">
            
                
                    <a href="../../html/a.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        a标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="html/table.html">
            
                
                    <a href="../../html/table.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        table标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="html/img.html">
            
                
                    <a href="../../html/img.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.5.</b>
                        
                        img标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="html/hotmap.html">
            
                
                    <a href="../../html/hotmap.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.6.</b>
                        
                        hotmap基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="html/audio&amp;video.html">
            
                
                    <a href="../../html/audio&amp;video.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.7.</b>
                        
                        audio和video标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="html/picture.html">
            
                
                    <a href="../../html/picture.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.8.</b>
                        
                        响应式picture标签
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="html/dl.html">
            
                
                    <a href="../../html/dl.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.9.</b>
                        
                        dl标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="html/ul&amp;ol.html">
            
                
                    <a href="../../html/ul&amp;ol.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.10.</b>
                        
                        有序与无序列表
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="html/iframe.html">
            
                
                    <a href="../../html/iframe.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.11.</b>
                        
                        内嵌框架
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="html/base&amp;icon.html">
            
                
                    <a href="../../html/base&amp;icon.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.12.</b>
                        
                        base&amp;link基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="html/input&amp;label.html">
            
                
                    <a href="../../html/input&amp;label.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.13.</b>
                        
                        input&amp;label基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="html/form.html">
            
                
                    <a href="../../html/form.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.14.</b>
                        
                        from标签基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="html/input+.html">
            
                
                    <a href="../../html/input+.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.15.</b>
                        
                        input拓展
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="html/select.html">
            
                
                    <a href="../../html/select.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.16.</b>
                        
                        select&amp;optgroup标签
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="md/css.html">
            
                
                    <a href="../../md/css.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        css
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="css/sass.html">
            
                
                    <a href="../../css/sass.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        sass的安装与基本使用
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="gulp.html">
            
                
                    <a href="../../gulp.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        gulp的使用与安装
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="css/introduce.html">
            
                
                    <a href="../../css/introduce.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        css引入方式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4" data-path="md/css，selector.html">
            
                
                    <a href="../../md/css，selector.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.4.1" data-path="css/selector/es.html">
            
                
                    <a href="../../css/selector/es.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.1.</b>
                        
                        元素选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.2" data-path="css/selector/relation.html">
            
                
                    <a href="../../css/selector/relation.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.2.</b>
                        
                        关系选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.3" data-path="css/selector/pc.html">
            
                
                    <a href="../../css/selector/pc.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.3.</b>
                        
                        伪类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.4" data-path="css/selector/id&amp;class.html">
            
                
                    <a href="../../css/selector/id&amp;class.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.4.</b>
                        
                        id和类选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.5" data-path="css/selector/attribute.html">
            
                
                    <a href="../../css/selector/attribute.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.5.</b>
                        
                        属性选择器
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.4.6" data-path="css/selector/pe.html">
            
                
                    <a href="../../css/selector/pe.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.4.6.</b>
                        
                        伪像选择器
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.5" data-path="css/type/type.html">
            
                
                    <a href="../../css/type/type.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.</b>
                        
                        css样式
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.5.1" data-path="css/type/color.html">
            
                
                    <a href="../../css/type/color.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.1.</b>
                        
                        颜色属性color
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="2.5.2" data-path="css/type/font.html">
            
                
                    <a href="../../css/type/font.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.2.</b>
                        
                        字体样式font
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.3" data-path="css/type/text-decoration.html">
            
                
                    <a href="../../css/type/text-decoration.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.3.</b>
                        
                        文本修饰
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.4" data-path="css/type/text-shadow.html">
            
                
                    <a href="../../css/type/text-shadow.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.4.</b>
                        
                        文字阴影
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.5.5" data-path="css/type/iconfont.html">
            
                
                    <a href="../../css/type/iconfont.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.5.5.</b>
                        
                        尺量图iconfont引用
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.6" data-path="css/layout/layout.html">
            
                
                    <a href="../../css/layout/layout.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.</b>
                        
                        css布局
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.6.1" data-path="css/layout/align.html">
            
                
                    <a href="../../css/layout/align.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.1.</b>
                        
                        对齐方式align
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.2" data-path="css/layout/box.html">
            
                
                    <a href="../../css/layout/box.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.2.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.3" data-path="css/layout/float.html">
            
                
                    <a href="../../css/layout/float.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.3.</b>
                        
                        浮动
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.4" data-path="css/layout/inline&amp;block.html">
            
                
                    <a href="../../css/layout/inline&amp;block.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.4.</b>
                        
                        块级元素和行内元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.5" data-path="css/layout/textprocessing.html">
            
                
                    <a href="../../css/layout/textprocessing.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.5.</b>
                        
                        文字处理和图片处理
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.6" data-path="css/layout/position.html">
            
                
                    <a href="../../css/layout/position.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.6.</b>
                        
                        定位属性position
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.6.7" data-path="css/layout/flex.html">
            
                
                    <a href="../../css/layout/flex.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.6.7.</b>
                        
                        弹性盒子布局flex
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../../" >H5学习笔记</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="font&#x5C5E;&#x6027;">font&#x5C5E;&#x6027;</h1>
<h4 id="what&#xFF1A;&#x5B9A;&#x4E49;&#x5B57;&#x4F53;&#x7684;&#x5927;&#x5C0F;&#x3001;&#x6837;&#x5F0F;&#x3001;&#x989C;&#x8272;">what&#xFF1A;&#x5B9A;&#x4E49;&#x5B57;&#x4F53;&#x7684;&#x5927;&#x5C0F;&#x3001;&#x6837;&#x5F0F;&#x3001;&#x989C;&#x8272;</h4>
<h4 id="why&#xFF1A;&#x4F7F;&#x6587;&#x5B57;&#x5DE5;&#x6574;&#x7F8E;&#x89C2;">why&#xFF1A;&#x4F7F;&#x6587;&#x5B57;&#x5DE5;&#x6574;&#x7F8E;&#x89C2;</h4>
<h4 id="when&#xFF1A;&#x7528;&#x5728;&#x7279;&#x5B9A;&#x7F51;&#x7AD9;&#xFF0C;&#x4F8B;&#x5982;&#x4E66;&#x6CD5;&#x7F51;&#x7AD9;&#x5236;&#x4F5C;">when&#xFF1A;&#x7528;&#x5728;&#x7279;&#x5B9A;&#x7F51;&#x7AD9;&#xFF0C;&#x4F8B;&#x5982;&#x4E66;&#x6CD5;&#x7F51;&#x7AD9;&#x5236;&#x4F5C;</h4>
<h3 id="fontsize&#x8C03;&#x8282;&#x5B57;&#x4F53;&#x5927;&#x5C0F;">font-size:&#x8C03;&#x8282;&#x5B57;&#x4F53;&#x5927;&#x5C0F;</h3>
<pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">font-size</span>:<span class="hljs-value"> <span class="hljs-number">24px</span></span></span>;   
&#x5B57;&#x4F53;&#x5927;&#x5C0F;24<span class="hljs-tag">px</span>   
<span class="hljs-rule"><span class="hljs-attribute">font-size</span>:<span class="hljs-value"> <span class="hljs-number">200%</span></span></span>;   
&#x9664;&#x4E86;&#x7EDD;&#x5BF9;&#x503C;,&#x4E5F;&#x53EF;&#x4EE5;&#x7528;&#x767E;&#x5206;&#x6BD4;,&#x57FA;&#x4E8E;&#x7236;&#x5143;&#x7D20;&#x7684;&#x5B57;&#x4F53;&#x8FDB;&#x884C;&#x767E;&#x5206;&#x6BD4;&#x8BA1;&#x7B97;
</code></pre>
<h3 id="fontweight&#x5B57;&#x4F53;&#x52A0;&#x7C97;">font-weight:&#x5B57;&#x4F53;&#x52A0;&#x7C97;</h3>
<table>
<thead>
<tr>
<th>&#x503C;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>normal</td>
<td>&#x6B63;&#x5E38;&#x7684;&#x5B57;&#x4F53;&#x3002;&#x76F8;&#x5F53;&#x4E8E;&#x6570;&#x5B57;&#x503C;400</td>
</tr>
<tr>
<td>bold</td>
<td>&#x7C97;&#x4F53;&#x3002;&#x76F8;&#x5F53;&#x4E8E;&#x6570;&#x5B57;&#x503C;700&#x3002;</td>
</tr>
<tr>
<td>bolder</td>
<td>&#x5B9A;&#x4E49;&#x6BD4;&#x7EE7;&#x627F;&#x503C;&#x66F4;&#x91CD;&#x7684;&#x503C;</td>
</tr>
<tr>
<td>lighter</td>
<td>&#x5B9A;&#x4E49;&#x6BD4;&#x7EE7;&#x627F;&#x503C;&#x66F4;&#x8F7B;&#x7684;&#x503C;</td>
</tr>
</tbody>
</table>
<pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">font-weight</span>:<span class="hljs-value"> bold</span></span>;
&#x5B57;&#x4F53;&#x7684;&#x7C97;&#x7EC6;,&#x901A;&#x5E38;&#x52A0;&#x7C97;<span class="hljs-tag">bold</span>,&#x4E0D;&#x52A0;&#x7C97;<span class="hljs-tag">normal</span>
</code></pre>
<h3 id="fontstyle&#xFF1A;&#x659C;&#x4F53;&#x6B63;&#x5E38;">font-style&#xFF1A;&#x659C;&#x4F53;/&#x6B63;&#x5E38;</h3>
<table>
<thead>
<tr>
<th>&#x503C;</th>
<th>&#x63CF;&#x8FF0;</th>
</tr>
</thead>
<tbody>
<tr>
<td>normal</td>
<td>&#x6B63;&#x5E38;&#x7684;&#x5B57;&#x4F53;</td>
</tr>
<tr>
<td>italic</td>
<td>&#x659C;&#x4F53;&#x3002;&#x5BF9;&#x4E8E;&#x6CA1;&#x6709;&#x8BBE;&#x8BA1;&#x659C;&#x4F53;&#x7684;&#x7279;&#x6B8A;&#x5B57;&#x4F53;&#xFF0C;&#x5982;&#x679C;&#x8981;&#x4F7F;&#x7528;&#x659C;&#x4F53;&#x5916;&#x89C2;&#x5C06;&#x5E94;&#x7528;oblique</td>
</tr>
<tr>
<td>oblique</td>
<td>&#x503E;&#x659C;&#x7684;&#x5B57;&#x4F53;&#x3002;&#x4EBA;&#x4E3A;&#x7684;&#x4F7F;&#x6587;&#x5B57;&#x503E;&#x659C;&#xFF0C;&#x800C;&#x4E0D;&#x662F;&#x53BB;&#x9009;&#x53D6;&#x5B57;&#x4F53;&#x4E2D;&#x7684;&#x659C;&#x4F53;&#x5B57;</td>
</tr>
</tbody>
</table>
<h4 id="italic-&#x548C;-oblique-&#x7684;&#x533A;&#x522B;">italic &#x548C; oblique &#x7684;&#x533A;&#x522B;</h4>
<ol>
<li>font-style &#x975E;&#x5E38;&#x7B80;&#x5355;&#xFF1A;&#x7528;&#x4E8E;&#x5728; normal &#x6587;&#x672C;&#x3001;italic &#x6587;&#x672C;&#x548C; oblique &#x6587;&#x672C;&#x4E4B;&#x95F4;&#x9009;&#x62E9;&#x3002;&#x552F;&#x4E00;&#x6709;&#x70B9;&#x590D;&#x6742;&#x7684;&#x662F;&#x660E;&#x786E; italic &#x6587;&#x672C;&#x548C; oblique &#x6587;&#x672C;&#x4E4B;&#x95F4;&#x7684;&#x5DEE;&#x522B;&#x3002;   </li>
<li>&#x659C;&#x4F53;&#xFF08;italic&#xFF09;&#x662F;&#x4E00;&#x79CD;&#x7B80;&#x5355;&#x7684;&#x5B57;&#x4F53;&#x98CE;&#x683C;&#xFF0C;&#x5BF9;&#x6BCF;&#x4E2A;&#x5B57;&#x6BCD;&#x7684;&#x7ED3;&#x6784;&#x6709;&#x4E00;&#x4E9B;&#x5C0F;&#x6539;&#x52A8;&#xFF0C;&#x6765;&#x53CD;&#x6620;&#x53D8;&#x5316;&#x7684;&#x5916;&#x89C2;&#x3002;&#x4E0E;&#x6B64;&#x4E0D;&#x540C;&#xFF0C;&#x503E;&#x659C;&#xFF08;oblique&#xFF09;&#x6587;&#x672C;&#x5219;&#x662F;&#x6B63;&#x5E38;&#x7AD6;&#x76F4;&#x6587;&#x672C;&#x7684;&#x4E00;&#x4E2A;&#x503E;&#x659C;&#x7248;&#x672C;&#x3002;   </li>
<li>&#x901A;&#x5E38;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;italic &#x548C; oblique &#x6587;&#x672C;&#x5728; web &#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x770B;&#x4E0A;&#x53BB;&#x5B8C;&#x5168;&#x4E00;&#x6837;&#x3002;   </li>
</ol>
<pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">font-style</span>:<span class="hljs-value"> italic</span></span>;
&#x5B57;&#x4F53;&#x659C;&#x4F53;,&#x659C;&#x4F53;<span class="hljs-tag">italic</span>,&#x4E0D;&#x659C;&#x4F53;<span class="hljs-tag">normal</span>
</code></pre>
<h3 id="fontvariant">font-variant</h3>
<ol>
<li>&#x53EF;&#x4EE5;&#x8BBE;&#x5B9A;&#x5C0F;&#x578B;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#x3002;&#x5C0F;&#x578B;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#x4E0D;&#x662F;&#x4E00;&#x822C;&#x7684;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#xFF0C;&#x4E5F;&#x4E0D;&#x662F;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#xFF0C;&#x8FD9;&#x79CD;&#x5B57;&#x6BCD;&#x91C7;&#x7528;&#x4E0D;&#x540C;&#x5927;&#x5C0F;&#x7684;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#x3002;   </li>
</ol>
<pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">font-variant</span>:<span class="hljs-value"> small-caps</span></span>;
<span class="hljs-comment">/*&#x5C0F;&#x578B;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#xFF0C;&#x53EA;&#x80FD;&#x5E94;&#x7528;&#x5185;&#x5BB9;&#x4E2D;&#x7684;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#xFF0C;&#x5E94;&#x7528;&#x9891;&#x7387;&#x4E0D;&#x9AD8;*/</span>
</code></pre>
<h3 id="fontfamily">font-family</h3>
<p>&#x5B9A;&#x4E49;&#x6587;&#x672C;&#x7684;&#x5B57;&#x4F53;&#x7CFB;&#x5217;&#x3002;  </p>
<p><strong>&#x7F51;&#x7AD9;&#x5B57;&#x4F53;&#x5206;&#x4E3A;&#x886C;&#x7EBF;&#x548C;&#x975E;&#x886C;&#x7EBF;,&#x901A;&#x5E38;&#x7F51;&#x7AD9;&#x4E3B;&#x6D41;&#x4F7F;&#x7528;&#x975E;&#x886C;&#x7EBF;&#x5B57;&#x4F53;&#xFF08;sans serif&#xFF09;</strong>   </p>
<h2 id="&#x6CE8;&#x610F;">&#x6CE8;&#x610F;:</h2>
<ol>
<li>&#x5982;&#x679C;&#x4EE5;&#x4E0A;&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#x90FD;&#x6CA1;&#x6709;&#xFF0C;&#x6211;&#x4EEC;&#x5C31;&#x4F1A;&#x7ED9;&#x4E2A;&#x4FDD;&#x5E95;&#x9009;&#x62E9;&#xFF0C;&#x53EB;&#x975E;&#x7EBF;&#x6027;&#x4F53;&#xFF08;sans-serif)   </li>
<li>&#x5199;&#x6CD5;&#x4E0A;&#xFF0C;&#x4F18;&#x5148;&#x5199;mac&#x7CFB;&#x7EDF;&#xFF0C;&#x518D;&#x5199;win&#x7CFB;&#x7EDF;&#xFF0C;&#x4F18;&#x5148;&#x82F1;&#x6587;&#x518D;&#x5199;&#x4E2D;&#x6587;   </li>
<li>&#x6D4F;&#x89C8;&#x5668;&#x5728;&#x5E94;&#x7528;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;&#x4F1A;&#x4F18;&#x5148;&#x5224;&#x65AD;&#x82F1;&#x6587;&#x5B57;&#x4F53;&#xFF0C;&#x518D;&#x5224;&#x65AD;&#x4E2D;&#x6587;&#x5B57;&#x4F53;&#xFF0C;&#x591A;&#x4E2A;&#x5B57;&#x4F53;&#x8981;&#x7528;&#x7A7A;&#x683C;&#x9694;&#x5F00;&#xFF0C;&#x5982;&#x679C;&#x5B57;&#x4F53;&#x540D;&#x5B57;&#x5E26;&#x6709;&#x7A7A;&#x683C;&#x90FD;&#x9700;&#x8981;&#x7528;&#x5F15;&#x53F7;&#x5305;&#x8D77;&#x6765;    <pre><code class="lang-css"><span class="hljs-rule"><span class="hljs-attribute">font-family</span>:<span class="hljs-value"> sans-serif</span></span>;
</code></pre>
</li>
</ol>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="../../css/type/color.html" class="navigation navigation-prev " aria-label="Previous page: 颜色属性color"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="../../css/type/text-decoration.html" class="navigation navigation-next " aria-label="Next page: 文本修饰"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="../../gitbook/app.js"></script>

    
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sectionx/sectionx.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/lunr.min.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-search/search.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="../../gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"sectionx":{},"expandable-chapters":{},"highlight":{},"search":{"maxIndexSize":1000000},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
